
import request from "@/utils/request";

/**
 *  菜单列表
 */
export function menuListApi(query?: any) {
  return request({
    url: "/system/menu/list",
    method: "GET",
    data: query, // 合并对象 {name: xx, current: xxx, size: xx},
  });
}
/**
 *  删除
 */
export function DelApi(id: string) {
  return request({
    url: "/system/role",
    method: "GET",
  });
}

export function menuSelectApi() {
  return request({
    url: "/system/menu/select",
    method: "GET",
  });
}